<template>
  <div class="wrapper">
    <TopArea />
    <ProductList :shopId="shopId" />
  </div>
</template>

<script setup>
import { ref } from "vue"
import { useRoute } from 'vue-router'
import TopArea from "./components/TopArea.vue";
import ProductList from "./components/ProductList.vue";
const route = useRoute()
const shopId = ref(route.params.id);
</script>

<style lang="scss" scoped>
.wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eee;
  overflow-y: scroll;
}
</style>
